# 自定义图文验证码表单
# 一般将一些表单类写到同一个forms.py文件里

from captcha.fields import CaptchaField
from django import forms


class RegisterForm(forms.Form):
    email = forms.CharField(label="邮箱", max_length=128)
    password = forms.CharField(label="密码", max_length=128, widget=forms.PasswordInput)
    captcha = CaptchaField()